package com.thinkit.bigdata.web.model.bus;

import java.util.Date;

public class BusTag {
    private Long id;

    private Long parentid;

    // 标签分类（上级标签content）
    private String type;

    private Integer provinceid;

    private String provincecode;

    private String provincename;

    private String name;

    private String note;

    private String content;

    private Date createtime;

    private Long createuserid;

    private String createusername;

    private Date lastupdatetime;

    private Long lastupdateuserid;

    // 标签类型 0、话务小结 1、系统标签 2 公用
    private Integer tagtype;

    // 标签类型名称 前端不方便转换 0、话务小结 1、系统标签 2 公用
    private String tagtypename;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(Integer provinceid) {
        this.provinceid = provinceid;
    }

    public String getProvincecode() {
        return provincecode;
    }

    public void setProvincecode(String provincecode) {
        this.provincecode = provincecode == null ? null : provincecode.trim();
    }

    public String getProvincename() {
        return provincename;
    }

    public void setProvincename(String provincename) {
        this.provincename = provincename;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(Long createuserid) {
        this.createuserid = createuserid;
    }

    public String getCreateusername() {
        return createusername;
    }

    public void setCreateusername(String createusername) {
        this.createusername = createusername;
    }

    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public Long getLastupdateuserid() {
        return lastupdateuserid;
    }

    public void setLastupdateuserid(Long lastupdateuserid) {
        this.lastupdateuserid = lastupdateuserid;
    }

    public Integer getTagtype() {
        return tagtype;
    }

    public void setTagtype(Integer tagtype) {
        this.tagtype = tagtype;
    }

    public String getTagtypename() {
        return tagtypename;
    }

    public void setTagtypename(String tagtypename) {
        this.tagtypename = tagtypename;
    }

    @Override
    public String toString() {
        return "bugTag[type='" + getType() + "',provincecode='" + getProvincecode() + "',name='" + getName() + "']";
    }
}